package com.itheima.Entity;

public class Student {
    private Integer id;
    private String name;
    private Integer sex;
    private String PhoneNumber;
    private String degree;
    private SchoolClass  ClassName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhoneNumber() {
        return PhoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        PhoneNumber = phoneNumber;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public SchoolClass getClassName() {
        return ClassName;
    }

    public void setClassName(SchoolClass className) {
        ClassName = className;
    }

    public Student(Integer id, String name, Integer sex, String phoneNumber, String degree, String aClass) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        PhoneNumber = phoneNumber;
        this.degree = degree;
//        ClassName = aClass;
        }
    }

